﻿<%@ Page Title="Mapping" Language="C#" MasterPageFile="~/GEMS.master" AutoEventWireup="true"
    CodeFile="CategoryMapping.aspx.cs" Inherits="CategoryMaster" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="container960">
        <div class="container_12 container_16">
            <div class="full">
                <div class="content">
                <div class="back">
                        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/index.aspx" Text="Back"></asp:HyperLink>
                    </div>
                    <h2>
                        Category Mapping</h2>
                    <div class="f_head r3 box">
                        <div class="head_con">
                            <div class="c1">
                                <div class="rw1">
                                    <span class="text">Category Type Code</span>
                                    <asp:Label ID="lblcategorytypcode" runat="server" Text="Label"></asp:Label>
                                   
                                </div>
                                <div class="rw1">
                                    <span class="text">User Type </span>
                                    <asp:DropDownList ID="ddlUsertype" runat="server" CssClass="select_field field">
                                     
                                    </asp:DropDownList>
                                </div>
                            </div>
                            <div class="c2">
                                <div class="rw1">
                                    <span class="text">Category Type Name</span>
                                    <asp:Label ID="lblcategorytypname" runat="server" Text="Label"></asp:Label>
                                       
                                   
                                </div>
                                <div class="rw1">
                                    <span class="text">Discount Type</span>
                                    <asp:DropDownList ID="ddlDiscouttype" runat="server" Style="width: 140px;" CssClass="select_field field">
                                       
                                    </asp:DropDownList>
                                    <asp:TextBox ID="TextBox1" Style="width: 50px; margin-left: 10px;" runat="server"
                                        CssClass="text_field field"></asp:TextBox>
                                </div>
                            </div>
                            <div class="rw1 row_btn">
                                <asp:Button ID="btnadd" runat="server" Text="Add" class="lgin"  OnClick="btnadd_Click" />
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                    </div>
                    <div class="box" id="count_grid">
                        <div class="grid1">
                            <asp:GridView ID="GridView1" runat="server" BackColor="White" CssClass="mGrid" GridLines="Vertical"  DataKeyNames="TypeMapping_ID" AutoGenerateColumns="False">
                                <Columns>
                                    <asp:TemplateField HeaderText="Edit">
                                        <ItemTemplate>
                                            <asp:ImageButton ID="Ibtedt" runat="server" CausesValidation="False" ImageUrl="~/css/images/edit.jpg"
                                                Text="Edit" ToolTip="Click here to Edit"   OnClick="ibtEdit_Click" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Delete">
                                        <ItemTemplate>
                                            <asp:ImageButton ID="ibtdlt" runat="server" CausesValidation="False" ImageUrl="~/css/images/delete.gif" OnClick="ibtdelete_Click"
                                                Text="Delete" ToolTip="Click here to Delete" OnClientClick="return confirm('Are you sure to delete ?');" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                     <asp:BoundField HeaderText="UserType" DataField="UserType" />
                                    <asp:BoundField HeaderText="DiscountType" DataField="DiscountType" />
                                     <asp:BoundField HeaderText="Amount" DataField="Amount" />
                                    
                                </Columns>
                            </asp:GridView>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
